	<div class="item">
		<div class="name"><span class="returns">{{call DocGen.short_returns()}}</span> <span class="fullname">{{f.fullname}}</span><span class="short_parameters">({{call DocGen.short_parameters()}})</span></div>
		<div class="attributes">{{call DocGen.long_attributes({field:"f"})}}</div>
		<div class="description">{{B:f.description}}</div>
		{{if f.anylength}}
			<div class="parameters">
				<table border="0">
				<tbody>
					{{if f.parameters.length}}<tr><th colspan="5">Parameters</td></tr>{{/if}}
					{{foreach p in f.parameters}}
					<tr><td>{{p.name}}</td><td class="datatype">{{p.datatype}}</td><td>{{if p.optional}}[O]{{/if}}</td><td>{{p.defaults}}</td><td>{{p.description}}</td></tr>
					{{/foreach}}

					{{if f.returns.length}}<tr><th colspan="5">Returns</td></tr>{{/if}}
					{{foreach p in f.returns}}
					<tr><td>{{p.name}}</td><td class="datatype">{{p.datatype}}</td><td>{{if p.optional}}[O]{{/if}}</td><td>{{p.defaults}}</td><td>{{p.description}}</td></tr>
					{{/foreach}}

				</tbody>
				</table>
			</div>
		{{/if}}
		<!--{{unless f.parameters.length}}<div class="empty">Нет параметров</div>{{/unless}}-->
	</div>
